package com.fruit.constants;

/**
 * 
 * @ClassName: FruitTreeConstant
 * @author 葛欢欢
 * @version 2017.11.30 16:40
 */
public class FruitTreeConstant {

	/**
	 * 
	 * @ClassName: TreeState
	 * @author 葛欢欢
	 * @version 2017.11.30 16:40
	 */
	public enum TreeState {
		seed("00"), sapling("01"), tree("02");
		String value;

		TreeState(String value) {
			this.value = value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @return String
		 */
		public String getValue() {
			return value;
		}

		/**
		 * 
		 * @author 葛欢欢
		 * @version 2017.11.30 16:40
		 * @param value
		 *            value
		 */
		public void setValue(String value) {
			this.value = value;
		}
	}

}
